﻿using System;
using System.ComponentModel.DataAnnotations;
using SqlSugar;

namespace WaterCloud.Domain.AttendanceManagement
{
    /// <summary>
    /// 创 建：超级管理员
    /// 日 期：2025-04-11 11:23
    /// 描 述：类型参数实体类
    /// </summary>
    [SugarTable("hr_holidaytypeparameter")]
    public class HolidaytypeparameterEntity : IEntity<HolidaytypeparameterEntity>, ICreationAudited, IModificationAudited, IDeleteAudited
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_Id", ColumnDescription = "",ColumnDataType = "nvarchar(50)",IsPrimaryKey = true)]
        public string F_Id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_HolidayTypeId", ColumnDescription = "",ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string F_HolidayTypeId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_StartYear", ColumnDescription = "",ColumnDataType = "float(53)", IsNullable = true)]
        public float? F_StartYear { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_EndYear", ColumnDescription = "",ColumnDataType = "float(53)", IsNullable = true)]
        public float? F_EndYear { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_RatedDays", ColumnDescription = "",ColumnDataType = "int(10)", IsNullable = true)]
        public int? F_RatedDays { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_SortCode", ColumnDescription = "",ColumnDataType = "int(10)", IsNullable = true)]
        public int? F_SortCode { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_DeleteMark", ColumnDescription = "",ColumnDataType = "tinyint(3)", IsNullable = true)]
        public bool? F_DeleteMark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName="F_EnabledMark", ColumnDescription = "",ColumnDataType = "tinyint(3)", IsNullable = true)]
        public bool? F_EnabledMark { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_Description", ColumnDescription = "", ColumnDataType = "nvarchar(-1)", IsNullable = true)]
        public string F_Description { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorTime", ColumnDescription = "", ColumnDataType = "datetime2(27)", IsNullable = true)]
        public DateTime? F_CreatorTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_CreatorUserId", ColumnDescription = "", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string F_CreatorUserId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyTime", ColumnDescription = "", ColumnDataType = "datetime2(27)", IsNullable = true)]
        public DateTime? F_LastModifyTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_LastModifyUserId", ColumnDescription = "", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string F_LastModifyUserId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteTime", ColumnDescription = "", ColumnDataType = "datetime2(27)", IsNullable = true)]
        public DateTime? F_DeleteTime { get; set; }
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_DeleteUserId", ColumnDescription = "", ColumnDataType = "nvarchar(50)", IsNullable = true)]
        public string F_DeleteUserId { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string F_HolidayTypeName { get; set; }
    }
}
